<?php
#============================
#	Filename: spelist.qgmod.php
#	Note	: 指定ID的分类
#	Version : 2.0
#	Author  : qinggan
#	Update  : 2008-04-09
#============================
global $FS,$DB,$prefix;

if(!$thumb)
{	
	//echo $thumb;
	return false;
}
$md5 = md5(LANGUAGE_ID."_".$inid);
$cache_file = "data/cache/thumbfile_".$md5.".php";
$check_status = false;
if($iscache)
{
	$check_status = CheckCache($cache_file);
}

$sql = "SELECT filename,tmpname,folder,thumbfile,markfile FROM ".$prefix."upfiles WHERE id in(".$thumb.")";
$thumb = $DB->qgGetAll($sql);
if(!$thumb)
{
	return false;
}
$FS->qgWrite($catelist,$cache_file,"catelist");
unset($cache_file);
return $thumb;
?>